﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocketLib
{
	public class Event
	{
		public delegate void Read_CallbackDelegate(object sender, Read_CallbackEventArgs e);
		public event Read_CallbackDelegate CallbackEventHandler;

		public delegate void Accept_Delegate(object sender, Accept_EventArgs e);
		public event Accept_Delegate Accept_EventHandler;

	}


	public class Accept_EventArgs : EventArgs
	{
		public string ip { get; set; }
	}

	public class Read_CallbackEventArgs : EventArgs
	{

		public string msg { get; set; }
	}

}
